SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 46845: Exporting selected columns might not work in SAS® Web Report Studio

DetailsAboutRate It

SAS Web Report Studio enables you to export selected columns from list tables. When exporting to Microsoft Word or Microsoft Excel, the document or spreadsheet might be blank. When this problem occurs, the SAS Web Report Studio log contains an error similar to the following:

2012-06-06 11:42:46,976 [http-0.0.0.0-7070-5] ERROR
[68f13a58a01f9498:36ac2c09:137beb36ac3:8d4o686081]
com.sas.apps.citation.view.tbeans.commands.export.ExportTableCommand -
java.lang.IllegalArgumentException: Invalid column index.
        at
com.sas.servlet.tbeans.tableview.DefaultTableColumnModel.getColumn(DefaultTableC
olumnModel.java:176)
        at
com.sas.servlet.tbeans.tableview.BaseTableView.isExportNumericCustomFormattedVal
uesAsText(BaseTableView.java:4682)

...

This problem occurs under very specific circumstances. For example, if you select a mixture of category and measure columns but you do not include the first column, then the export fails. However, if you select a mixture of category and measure columns but you do include the first column, then the export succeeds. In addition, exporting measure columns succeeds regardless of their position in the table.

As a workaround, you can export the results as tab-delimited or comma-delimited data.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web Report Studioz/OS4.34.31_M29.2 TS2M39.3 TS1M2
Microsoft® Windows® for x644.34.31_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition4.34.31_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition4.34.31_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Standard Edition4.34.31_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 for x644.34.31_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 20084.34.31_M29.2 TS2M39.3 TS1M2
Microsoft Windows Server 2008 for x644.34.31_M29.2 TS2M39.3 TS1M2
Microsoft Windows XP Professional4.34.31_M29.2 TS2M39.3 TS1M2
Windows 7 Enterprise 32 bit4.34.31_M29.2 TS2M39.3 TS1M2
Windows 7 Enterprise x644.34.31_M29.2 TS2M39.3 TS1M2
Windows 7 Home Premium 32 bit4.34.31_M29.2 TS2M39.3 TS1M2
Windows 7 Home Premium x644.34.31_M29.2 TS2M39.3 TS1M2
Windows 7 Professional 32 bit4.34.31_M29.2 TS2M39.3 TS1M2
Windows 7 Professional x644.34.31_M29.2 TS2M39.3 TS1M2
Windows 7 Ultimate 32 bit4.34.31_M29.2 TS2M39.3 TS1M2
Windows 7 Ultimate x644.34.31_M29.2 TS2M39.3 TS1M2
Windows Vista4.34.31_M29.2 TS2M39.3 TS1M2
Windows Vista for x644.34.31_M29.2 TS2M39.3 TS1M2
64-bit Enabled AIX4.34.31_M29.2 TS2M39.3 TS1M2
64-bit Enabled Solaris4.34.31_M29.2 TS2M39.3 TS1M2
HP-UX IPF4.34.31_M29.2 TS2M39.3 TS1M2
Linux for x644.34.31_M29.2 TS2M39.3 TS1M2
Solaris for x644.34.31_M29.2 TS2M39.3 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.